fix(spillover-of-outdial): fix-pending-oudial-items - #563
Conversation
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
| const disableAccept = isTelephony && !isBrowser; | ||
| const disableAccept = (isTelephony && !isBrowser) || isAutoAnswering; | ||
|
|
||
| const disableDecline = (isTelephony && !isBrowser) || (isAutoAnswering && !isDeclineButtonEnabled); |
There was a problem hiding this comment.
did u test with digital task? I feel it will show. just cross check
There was a problem hiding this comment.
Yes, I have tested the digital task scenarios. When we receive a digital task, only the Accept button is displayed. For digital tasks, we do not show the Decline button, so the behavior is correct.
| const result = useOutdialCall({cc, logger}); | ||
| const props = { | ||
| logger, | ||
| currentTask, |
There was a problem hiding this comment.
Replaced currentTask check with isTelephonyTaskActive boolean that specifically checks for telephony tasks in the task list. This allows agents to make outdial calls while handling digital tasks (email/chat), as only active telephony tasks should prevent outbound calling.
| import {withMetrics} from '@webex/cc-ui-logging'; | ||
| import {Input, Button, Option, Select} from '@momentum-design/components/dist/react'; | ||
| import {Input, Button, Icon} from '@momentum-design/components/dist/react'; | ||
| import {SelectNext} from '@momentum-ui/react-collaboration'; |
There was a problem hiding this comment.
https://jira-eng-sjc12.cisco.com/jira/browse/CAI-6990
Lets add this as a todo. Please mention the details about this in the above ticket as well
| @@ -1,6 +1,7 @@ | |||
| import {MEDIA_CHANNEL, TaskListItemData} from '../task.types'; | |||
| import {ILogger, ITask} from '@webex/cc-store'; | |||
| import {isIncomingTask} from '@webex/cc-store'; | |||
There was a problem hiding this comment.
| import {isIncomingTask} from '@webex/cc-store'; | |
| import {isIncomingTask},store from '@webex/cc-store'; |
COMPLETES #https://jira-eng-sjc12.cisco.com/jira/browse/CAI-7323
Vidcast Link: https://app.vidcast.io/share/e2820333-3021-442e-8dee-8b4fc78215e3
When to Disable the Outdial Call Button: Telephony vs. Digital Tasks
Vidcast Link: https://app.vidcast.io/share/8b1ac7d1-73a5-4910-81cc-d255ba423f13
This pull request addresses
This pull request addresses the following enhancements and fixes:
by making the following changes
< DESCRIBE YOUR CHANGES >
Change Type
The following scenarios were tested
< ENUMERATE TESTS PERFORMED, WHETHER MANUAL OR AUTOMATED >
The GAI Coding Policy And Copyright Annotation Best Practices
Checklist before merging
Make sure to have followed the contributing guidelines before submitting.